WeDevs\Dokan\REST\OrderControllerV2 S

Total Complexity 15
Dependencies 4
Dependents 0
Total lines 311
Lines of code 194
Logical lines of code 70
Comment lines 80
Methods 8
Properties 1

Methods 8

Method Rating Maintainability Complexity Lines of code
grant_order_downloads()
S
50 6 27
register_routes()
S
40 1 79
get_order_downloads()
S
47 1 43
revoke_order_downloads()
S
58 2 14
sanitize_order_ids()
S
69 2 7
format_downloads_data()
S
63 1 11
prepare_data_for_response()
S
72 1 5
process_orders_bulk_action()
S
67 1 8